clean up code

use version number in python packages(requirements.txt)
use redis sorted set
use routes to assign uri to class(like Flask)