api's splitted
example updated
RestResponses added. Example moved to another pkg.
added rest example