5G Private Networks: Applications in Smart Factories and Communications