Moved rally control out of mayproxy.py into its own module.