York County's new history center will open to the public this week