Changed software licence to Apache Licence, Version 2.0

http://www.apache.org/licenses/LICENSE-2.0