Modules over factorization spaces and factorization algebras