Added the Apache2 licence header to all files