Added basic model.  More work needed but commiting round 1.