fleshing out framework for simple http requests