Some MySQL, POSIX Threads, strings and dates functionality, wrapped in c++ classes