Fixed params reference
Added semantic validation
peg no longer returns a string for fields but an array
Implemented auxiliary functions and checking of temporal constraints