code cleanup
use redis for caching...