Add licence and build file