Corollary 3.10. Let $A$ be a local ring with maximal ideal $\mathfrak{m}$ and residue field $k:=A/\mathfrak{m}$, and let $M$ be a finitely generated module over $A$. The action of $A$ on $M/\mathfrak{m}M$ factors through $k$, and elements $a_1,...,a_n$ of $M$ generate it as an $A$-module if and only if the elements $$a_1+\mathfrak{m}M,...,a_n+\mathfrak{m}M$$ generate $M/\mathfrak{m}M$ as $k$-vector space.
In the corollary 3.10 of this book, 'The action of $A$ on $M/\mathfrak{m}M$ factors through $k$' so they view $M/\mathfrak{m}M$ as a vector space over $k$. Then how does the operation defined? Is it $(a+\mathfrak{m})(x+\mathfrak{m}M) = ax+\mathfrak{m}M$? And in general, if we have such form (some given action of a ring of given module factors through some field obtained by quotient), then can we always view such module as a vector space over that field? And is the operation defined as I wrote above?