Minor restructuring and comments
Parsing for DEF
Store type in symbol table (only for constants)