Added ability to statically load settings. Fixes #8.