inputted schema to psql, outlines routes