add rack-cors
add size field
format bounds for query
formatted request from client works