New configuration format for workloads
Add generator functions
Add setup_* functions for resources
Refactor main setup function