How was the british empire structured?