Commit class, clean up commenting and formatting.
Commit class, clean up commenting and formatting.