Geometrodynamics of non-relativistic continuous media, I.