cleaned up controllers views and routes