Added main class FSMBuilder.java