Implemented create instances API and updated API document