added fast caching class and database cominucation