Added header comments to all files

header comments and formatting