added test for documents
WIP: end to end test
WIP: added tests for saving a document
added type service interface
renamed document repository to database facade
moved classes to seperate files
added default command executor
moved classes to seperate files
moved test doubles and builders into proper folders
moved classes to core project
added db facade interface
added test for generating expected document id
added tests for generated data document