Added controller, model for layout.

Please your layoutview path to :
/controller/layoutController.php
Variables work the same