Create class net