Initial commit of code around the model repository API and tools.