cleaned out routes of redis code.

Removed all the code from the routing functions so That I can implement everything with Mongodb code.