Fixed the build. Also implemented a model content provider.

Still problems with test dependencies. I cannot get a test dependency to ModelerTest.