Create class instance