Move main command methods out of initializer.

Doing everything in the initializer is a mistake. It complictes
the tests and is bad practice. Move the main method calls into a
"run" method