network details implemented

also some directory restructuring