The former Methodist church will be replaced with affordable housing