Function to read setup file, with some defaults

You can now access any custom variables in the setup file by using
get_settings(‘variable’). Got rid of a massive looping foreach/if
statement.

Might not be more efficient but it’s much easier to read.