add simple object for managing cache
create filters after cache check
remove unused variable