Refactored code to eliminate need for a commander. Much simpler interface now.