[TASK] Factor out generic methods into abstract command controller so
 other extensions can use them.
Merge pull request #28 from MaxServ/master

[TASK] Factor out generic methods into abstract command controller so