API work mostly, getting the core of OpenMDS ready for primetime.