Moving Rest Classes from example to Rest module