Encapsulated db code to it's own class.  Created the new Domain project.  Created tests.