Modules in applied mathematics