Project cleanup done

Code cleaned and commended. Subsystem ready for full-scale integration
testing.