The localisation component is now functional, but quite unstable; I will have to debug it a bit later