removed unused parts of foundation from build, refs #1