Add license, add comments, removed useless files