Documentation added where needed in the code. The standard /// used for if XML documentation is needed.