The first part sounds fairly similar to what's shown in Tutorial video: Creating complex directory structures
(The tutorial is how to do it in Opus 10, which still works. In Opus 11 you could alternatively make an actual Opus script to do it instead of running an external script, but most of the details will be the same either way, and using what's in the tutorial is probably easiest.)
The second part, populating data into property fields, really depends on what type(s) of property data and what type(s) of files we are talking about.