Update to use new Scotty 0.5.0 transformers.
MVar -> IORef
cleanup