refactored views and removed g_db_c