The M 4 Core Project with HST: I. Overview and first epoch