API for creating networks (right one)