Neighborhood table partial implementation

still need to do the handling functions, only class and its own
functions are implemented yet.