Extract state transform sequence() to st.js. Extract css class list helpers to lib/classes.js