refactor on app
working on node js mediator, watcher don't work