Added Commands(dict) class
Moved command related methods into new Commands class