Moved things around a lot. Lots of refactoring. Added test runner script and moved config into a JSON file. Added database setup.