create CacheDataSource class
import CacheDataSource and organize imports
remove unused code
move cache data source initialization
update comment