Response functions in TDDFT: Concepts and implementation