A simple command system that uses interface and hashmap