Updated Pom.xml
Moved Endpoints and Connections to enum for simplified API calls