MySQL DB connection

Added a class DB connection to handle database connection, currently the
class store all worker's parameters in the daabase..