Move SettingsStruct outside of the ShapeLearner class