Fix license and file headers
Fix whitespace issues