The aim and structure of physical theory