Completed compiler and edited main and cacher file

Added support for rebuilding entire cache and
completed compiler, need to test now.