add comments
add more static boilerplate
fix bug where bool was being evaluated as function
add branches for varying requests
edge debugging pprint
fix wrong http status code and add comments