change redis keys
implement apps api
implement app api