What provoked the modernization and expansion of the Brazilian administrative, civic, economical, military, educational, and scientific apparatus?