Added command package and Command and UndoableCommand interfaces
Implemented toGhResource() methods