Step 4

Gii code generator

After it's done, use the code generator to generate models, CRUD and more.

Then customize the generated code to suit your needs.