Complete refactor

* Encapsute settings and files
* Exclude by glob instead of regex
* Default excludes to sidebar preferences
* Refine settings defaults and language
* TODO: Open dir into project