now accepts HTTP requests. Need to tie them together