Functionality for java model building created (resorting on general stuff in LightModels)