macosx: create new classes for all controls bar related code