Re #8475 - Connection to the RestAPI
Re #8475 - Added code comments
Re #8475 - Created constants.js for Rest API endpoint definitions