added callback functions to network
Merge branch 'master' of https://github.com/Zeeno-atl/CzeTox