Move CGATS parsing stuff to its own class