Added a few more comments in each class.
Added documentation. Docs generated with ApiGen.