Added hook when options are updated

Removes the cache dir if the option is unchecked.

Set default template path when the admin class is loaded and create all template paths if they don't exist.

Moved responsibility of creating default template path and control cache dir to the admin class.