Fix/allow creating networks through api