added license
changed comments' formatting