Moved class Graph to namespace module Trains