Extracted test data a little
Moved registerRoutes to prevent circular dependencies
Works on front end
Made validator front-end enabled
Moved validator to ez-validation