fix: `resourceBuilder` and add some TODOs