Add clipboard module. Remove dead code.
Refactor drag&drop code.