updated REST API and README