Code developed during the cesium codeweek 2014