Adding a IO monad to wrap the servermux