add DB-tests, rewrite db_connection(), move all *.ini files to settings/ directory