Adding the Apache 2 license and updating some dependencies.