Better db config, remove dangerous remote connection
Adding some initial tests. More API ones are needed
Add migrations
Merge pull request #8 from CodeForTheCaribbean/some-improvements-and-tests

Reviewed code, prefer more descriptive branch name