Code reformatting
Copyright header added