Refactor dbf and shp reader
Add unit test for shp copy