Main shaft with bearing and housing