ack processing on connection side
separated network into files. NOTE- ANDROID DOESNT COMPILE