Completed refactor & implemented clipboard listening