Changed parsers to be modules instead of classes
Added a few db functions and tests
(John K, Sam N)