Moved command builder to mosca module.