Added an src/ directory to allow for a tests directory.
Renamed db module.