The city has reached an agreement to take over the Life Time attached to the Maple Grove Community Center, which is undergoing a $104 million expansion.