Added controller and view files