Rename HierarchicalStateMachine.scala to HSMBase