Finished first implementation of the model content provider

This will work with the focus tree. Added a test also.