doctests
split Request.hs
wipe unused functions