Handle response, add index.js, remove methods enum