finished SQL queries. Renamed psql files.