Modified create_network and delete_network