Refactored imperial march example to use Synthesizer.

References #13.