added new methods and StateMasterRestService