minor refactoring
added missing file from last commit
started frame cache implementation (work-in-progress)