Core library of SHP file handling.