States now receive/send data upon switch. Also added documentation and made code adhere to StyleCop.
Merge branch 'feat/iss1' into dev