Added header guards to package header files. Added cache to packages, added some comments to cache files