made the factories for the methods in restAPI, tested them in view3

Modified the Readme