Adding main controller
finishing main pages
Adding method to helper
adding layout
finishing layout