Initial commit of working prototype.