Some fixes in network
Added libconfig to parse config. Something fixed in net