Move Debriefer and Preference code to own files