Fixed name spaces in StateMachine generation
Added interface generation
Moved logger dependency to constructor
Renaming to generic variables