Adjusts autorun for new CLI requirements.
Remove global variables, add gorilla mux.
Provisional migrator ideas.