moved controllers to controller.coffee from router.coffee.