restructuring of namelist code, significant simplifications
using yecc for parsing, added scanner and simplified overall namelist design