added License and small other changes