first draft of 3-phase local package builder