add base implementation class to every fsm