AO parser updates

modified parser into staged form so errors are isolated by '@'
implemented a unit string parser
(parser for AO still untested)