Add a data model for transitions, fix some links