Added doyxgen documentation.

I have added comments in just 3-4 files. If the format looks fine, we could use the same. 
I have also checked in the generated documentation.
Currently, the "mainpage" is empty. You could perhaps check out the "ClassList" or the "FileList".