added header with all constants; some minor adjustments
lexical parsing working