API for build,extract & more