ensure state machine and views working correctly. implemented sass.