Added the Apache license header to all source files