Added documentation for the code base.