moved parsing logic into separated class. added optinal callback functions to gaf animation