Added a controller. Slimmed down router