refactor neighbor module and add doc fully -- final version
remove outdate py files