change url to endpoint
define the blueprint dir
move cache code to api and use redit
redis from enviromental variables
use redis password to connect
remove use_decimal
Make sure the cache distinguishes requests with different parameters