Fixed wrong column name in SELECT query
* Database is now a global variable
* More accurate exception processing
* Code cleanup in database.h:
* * fixed callbacks name
* * conditional drop table
Added comments, removed disabled code
bucket_type was moved to dedicated new source file
Added namespace
Added formatted output in PrintResultingTable
Exception class was moved to dedicated source file
Mutex waiting was moved to a common function