encapsulate the command registration in the app class
update README