Initial attempt to defunctorize cohttp using first class modules.