Added some comments
Removed unused properties of RepoCache
Added some comments
Supports the debug mode