Added caching for DB operations