set up routes for testing and configured the app to work with the new database foobooks