fix analyzeflight example program
add statemachine to metac imports
remove old statemachine to basec generator
reorganize namebinding files and fix imports
remove unnecessary files