Added proper comments to all source files