foundation models framework