* move all listeners attaching to application file
* remove not need code