Bach was Kapellmeister ( Director of Music ) and was treated well .
Leopold , Prince of Anhalt-K Ã then hired Bach to serve as his Kapellmeister ( director of music ) .