Changed to routes and model structure and added services as utilities.