added relative import option, started work with graph model