Added maven script (not complete). State machines can be setup through a xml definition object.