Update license
Remove debug line
Add documentation