Removed unneeded views and controllers and added in db model.