Added license
Fixed some comments
Added documents