Implemented routing via routing table and storing data in redis