Added indexer code, it is not used (WIP)

Added indexer code, it is not used (WIP)

- What is currently there is only tested on a windows machine, it does what it should there.
- Requires a sqlite database set up with spatialite (included)