make versionId a command line argument
make the db configurable from the command line + added cleanup after tests are run