fixed transition parsing
shared_ptrs for transitions + fixed start state