Add builder pattern for creating dependencies