Added (for now somewhat empty) tests
Now uses the DB specified in the config
Some refactoring
Started significant refactoring
More refactoring. Functionality should now be restored
The organization is somewhat ok now
SQLA initialization is now split too
Fixed minor bug
Minor changes