Code Documentation

Starting to document some of the controls in the code.