Added main controller and main view