a dsapi and imgapi server for SmartOS