added more metadata to database, wrote db reseting script in postgres