Added gtf class and tests