Encapsulated artifactory details in a separate class