database: Load networks from database