Changed to Apache 2.0 licence.
Fixed issue 34.