Adding inline docuemtation to invitation class

Adding proper inline documentation to invitation class.