Normally, the application structure look like this:
\root-directory
\application
\config
application.php
view.php
\models
\routes
index.php
\views
\helpers
MyApplication.php
\public
index.php
composer.json
public/index.php
Normally, the application structure look like this:
\root-directory
\application
\config
application.php
view.php
\models
\modules
\content
\routes
\views
ContentApplication.php
\admin
\routes
\views
AdminApplication.php
\public
index.php
composer.json
public/index.php