Create Category/subcategory multilevel structure?

I want to create a multi level category/subcategory structure.Is there any extension available exists in Yii or i need to create my own.

You can use ENestedSetBehavior

how about view and controller please ?

I just see model