Open project & import curve works again. Refactor finished (need to be debugged)