moved constants out of vmtools and into parseargs, and fixed tests accordingly
moved default db from localstate into parseargs, and cleaned up tests/code accordingly