set up tests and fixed some problems in routes
added travis settings
added explanation of db folder