added ResponseEntity and moved OrderResource interface to project to make it public