Centralised clipboard notification handling.

General cleanup

Added Source class to hold time of notification and program
Optimised imports