Initial commit of the orginal version from 2009.