Changed resources to use constructor pattern so data can be injected
Set data layer implementation in app
Made data layer configurable from CLI, fixes #3
Moved main code to separate directory to make way for tests, #2
Added initial unit test, #2