Refactors Geotiff class, adds examples directory.