Extracted scanner inner classes from StateMachineObjectBuilderImpl into seperated files