setting up rest endpoints
added redis client