query changed to db
style fix
parameters adding properly
attempting to send back a response, included schema