add api xmemory/ximage/xtimer