progressing understanding and editing... main addition is switch to load model from file if exists/saved