Add ob_start to send headers from views
Add not found action page
Add errors/exceptions handlers
Reformat code