If the brain was an app