Added permission caching
Added samples to main solutions. Permissions caching.
Removed old sample solutions