Add neighborhood and main script

This should be in your main() function. No global vars!