Addig a resource facotry.
Adding a new short hands methods to RestServer class (get,post,put,delete)