The Masters are both the highly skilled Wolves/Shadowhunters who have decided to teach their skills and knowledge to those in training or to youngsters. They are the Head of an Institute of which the Consul has placed them in.
(More info may be added here)