Small cleanup and comments
- Completed code to encode messages from Spark to Android
- Completed decoding of messages from Android.

Not yet tested with actual Android.