A Generalist Foundation Model And Database