Applicaiton free DBAction

removed requirement on Application for the DBAction
Also:
- added test on new DBAction to demonstrate how to operate without any app
- refactored Config to contain config stuff and Database to only contain Database stuff
- fixed tests that didn't make sense