creating class Practitien and Type