Add support to load settings from theme folder and refactor the settings builder.