Create main_pages controller and Remove debug view