tested/first draft of build manager