Moved command APIs into sdk for use by others.
Updated README.