major radical refactoring to all controller and views

I literally changed something on nearly everypage