Formatting respect max code line length
Add LGPL version
Coding style: Add some parens