move preparing response responsibility out of front controller