add database stuff
adding json parsing for queries
trying to get POST to work