refactored view and controllers
refactored view and controllers