Implement regions and neighbors commands
Refactor shit