refactored SendMode enum into own file