Added a mapper to map between database models and view models. Applied mapper to root controller.