added sql.erl, updated config to include db creds, added m_stats.erl, deprecated data_manager.erl