Foundation with bed frame and mattress