Integrate ui with state machine

Integrate UI more with state machine on assignments, tasks and files. Task checkboxes change state, and assignment colors and visual status change as the user works through the different stages of completing tasks and assignments.