Restructuring project

Moved all database connection modules to databases -subfolder to clean
the project structure a little bit.