Added UI\Form classes
Some small fixes
Validate write permissions of cache directory