Add raster.core and tests.