added a command handler class
Merge pull request #1 from oojava/master

added a command handler class