Core logic for neuros.io