Initial commit of the working version.