Example code and API for geekSPARK DiMo 2014