Initial commit, this is a fast-coded prototype.