add cache feature
Merge branch 'master' of https://github.com/FeiyuYin/cmpe273_project