Add neighborhood and main script

Additionally if you don't want the program to die, at least print the whole exception then keep on going.