Added constructor that accepts a DB object, to facilitate mocking.
Updated for 2.4.0-SNAPSHOT
Merge pull request #4 from MRCY/master

Added constructor that accepts a DB object, to facilitate mocking.