Added Apache License headers and LICENSE.txt file.