[TASK] Removed obsolete classes
[TASK] Make old database connection legacy