Added graph template generator class