Added source encoding declarations
Add a guideline maximum line length to CONTRIBUTING
Fix some errors
Fix some formatting