Lots of refactoring
Add .gitignore
Add Raster scanning support