set up classes, read in coordiantes