Ripon bids to take control of key buildings from council