Added line generator class