Add BuildConfiguration/Repository API.

As a starting point for discussion....
* Think we should discuss what is required to build ; i.e. the project information, the environment, the repository information. How should this be passed around etc?