adding rest client funcionality and new module