made changes to allow the controller to easily work with other databases