Fix line breaks
Fix license and file headers
Tweak documentation