Begin adding services for db manipulation and corresponding tests.
In which a large refactor happens and many tests are added.