separate scope FSM into separate files
refactor and debug symbol table creation and tracking