Implemented the --buildcache command