John Ternus, senior vice president of hardware engineering will take over as CEO later this year.