Before the establishment of the civil service, what system of hiring was employed to the staff the federal bureaucracy