move module view template listener to module directory