Implementation aspects of a phase-field approach for brittle fracture