Moved the DBManager class to a different file
Add basic logging functionality
Add logger to DBManager
improve logging and create 'log' directory if it does not exist. Also add a main function. Now it try's to open a default yml file