added timing parsing to ply and classes
timing now writes functions
spelling