We discuss some aspects of a modular system of portable and rather efficient Fortran programs to perform flexible ab-inirio quantum mechanical calculations of electronic structure. In its cumnt stage of development our system can handle a fairly general selection of atomic orbitals for closed shell SCF and CI-SD molecular calculations. The only requirement of a module upon its arguments is data type consistency. Input to and output from a module is effected only through its argument list or files whose attributes are externally specified. The modular structure makes possible the concurrent development, debugging and extension of the system by otherwise independent workers. Efficiency is promoted by carrying out the bulk of floating point processing in subroutines which perform optimally in array processors, viz., vector-scalar-multiplyand-add subroutines. Flexibility is afforded by algorithms expressed in terms of one or more ordered integral lists whose size may be shortened by application of user-supplied thresholds for the inclusion of integrals of a given kind.