base on sinatra_modular and redis