changed state-machine declaration in baseview
added untracked files
changed state machine library. fixed base module state machine