Fixed parsing of options in DatabaseProvider
Moved app to src
Fixed tests