integrate addEvent removeEvent and watcher into resize module