Remove unaccessible neighbors from the target node
Create main class