Tabs to spaces + SettingsManager rewrite

This *should* correctly refactor all tabs to 4 spaces. This will close #10.
This also adds a rewritten SettingsManager file.