Extracts listener into own static class
Extracts listener into own class file