every source file has a header, extern and static reorg, misc formatting