Initial commit of working version.