I have a document library with document sets in it. Each document set represents a project.

On the welcome page of each document set I want to show a tasks list (in Gantt chart view) that will be that project's project schedule.

There are 3 things that need to be done here:

1. Create a new tasks list when a new document set is created - I know how to do this.
2. Edit the default document set home page so a tasks list is shown on the page - I know how to do this.
3. The tasks list web part on the document set home page should dynamically point to the newly created tasks list as soon as the document set is created - **how do I do this?**

Follow-up:

What if I want every document set (i.e. every project) to have its own tasks list, risks list, site feed, etc. - is this even possible?