Stock correct ptr in epoll_event struct
add network creation in factory