Work in progress

Multiple changes to implement ICommand correctly. Remove all helpers.registerCommand calls. Remove registerCommand methods. Add tests for CommandsService and some stubs.