added correct headers
added license

close #2