A general framework is described specifying how boundedly rational decision makers generate their choices. Starting from a "Master Module" which keeps an inventory of previously successful and unsuccessful routines several submodules can be called forth which either allow one to adjust behavior...