Added Apache License Header

Added Apache license information in relevant files