Add some helper functions, and validating symbols
Add parsing of datatypes
Add some datatype tests