Incorporated the Database classes and MySql API into linux verison.