Created function to guess the property definitions
Documented field definition guessing and fixed some bugs in datatypes