Revised mapping interface and data manager interface

@joe-goullaud @smbarne @nbonatsakis 

This is probably not quite ready to merge to the development branch but I wanted to get you guys' eyes on it. The functionality is best illustrated in the demo project's unit tests.