some nice config stuff and styling and distance query optimisation