Definition of Kapellmeister

What does the word Kapellmeister mean?