added phone call pars, moved demon handlers to another file, refactor