change dev db to pg fix
Layout and routes