Upgrade to work with HomeJS, Add Command Object and Custom Adapter