Merging networking with core library