Move running commands to own module.