added controller and view
controller etc