add routines controller, relevant view logic