Add neighborhood and main script

You are not using `embed` here. Is it really needed?