Moving mouseclicks to separate file