separate DataPoint as a public class