Added mapper to development mode.
So that we can fake the WDS APIs.
Moved db to util