fixed some api things, some todos, generalized request contexts