Add model provider

Not sure if it works... but here's the start of getting it going.