Release changes

release changes.

Updated readme, included rest API and also adjusted the code.