commented delete m_db in destructor in databasedate cause its a singleton and gave errors
updated download
removed mysql_free_result cause we probably dont need it anymore