starting the net code
seperated
moved logging functions, added networking code to build