Implement basic command system (as an example). Fixes #6