Refactoring continues: Refactoring the Load_model module, aim: modularize, clearly separate stages (not finished).
Also corrected a strange bug that has appeared in the Settings module (suddenly some magical types have changed resulting in a segmentation fault).