Modified Behanced Api Class and my Cache class