Add jgrapht and interfaces