Comments and Documentation done.

Added comments to source files and changed some formats
Added a short documentation as doc and pdf