simplify parseEntitySymbol logic and remove any state dependencies
processField does not return a flag but instead modifies parser state, add debug lines
rm redundant methods
complete the state flow for entity definition
fix semantics