The Hopfield model revisited: covariance and quantization