Adds copyright and fixes style guidelines