Move pieces of code into Listener

In Application\Module, some parts of code should be considered
as Listener instead of simple methods.