extract clipboard code into new module