Added Apache License information to code