first working version of the customizations loader
some refactoring putting stuff into classes