Added Apache License.
Added some comments and the license-reference.