Put Graph tools into a separate file