add comments to class methods

fixing some spacing as well. any params that do not have types set will be listed as 'Undefined'