Moved transitions into spring config class