add skeleton scanner
add basic flex rules to mirror current hand-coded parsing routines