Refactor to make functions smaller.
Refactor to make functions smaller.

Individual blocks of functionality are now in their own methods, and
are called from done() when appropriate.

sdgdsffdsfff/boomerang,lognormal/boomerang,levexis/boomerang,sdgdsffdsfff/boomerang,FredXue/boomerang,FredXue/boomerang,levexis/boomerang,lognormal/boomerang