Source-code cleaning

- Removed extra \n at end of files
- Removed unncessary whitespace
Finishing documentation changes.