Added licence.
Removed out-commentd code.