Refactored the classes into separate files.
Refactored out the database action.

We should be able to swap between different DB technology
by just swapping the DataServer actor used.