Worked on the core FSM. Integrated the W memory control.