small changes on code style
example api client implementation and documentation