removed depreciated library and also removed unnecessary context from the routing class