Rewrite some code to work with library. Fully deleted me graph classes because library do this work.