moved routes to their own files. cleaned up main.coffee