Add datatype def and make symtype naming more consistent
Save type information in parsedecl