fix global context reference
add request wrapper object, drop reqwest module dependency