New database class. MySQL and MongoDB connections added