Add basic command system. Minor bug (#7) in command access comparison logic.