added tables to local DB and generated table column names from db query.