added license
lots of changes