Some clean up, removed unused files. Added Apache 2.0 license.