Added attribution and Apache Licence.