Make the whole class a mouse listener