Deleted redundant code from MonadApp (now in separate demo programs)