style changes
rename fsm module
modify FSM API
style changes
sketch out regular grammar