Transitioning run module to use monad transformer, insteady of threading pure code in IO monad.