Updates to documentation and added license.
Initial commit of common code plus an example project.