Extracted MorseWriter. Moved configuration into the same module since they belong together.