Added TomDoc to methods
Added code commenting