Separated DB out. Added modules to repo.