added some command library classes and base controller stuffs