Got a working location finder. Needs lots of improvements... but it works