Moved clipboard code into new package.