Updated API to have Pool object

Updates to the API Vendor endpoint as well as JS to take advantage of the updates.