Added classes for handling settings, allows changing theme and script di...

...rectory