Retrieve API endpoint through EVN var
Improve API endpoint retrieval
Update version and cleanup API url retrieval
Update User-Agent version
Merge pull request #4 from mattecalcio/master

Update User-Agent version,  	Update version and cleanup API url retrieval, Improve API endpoint retrieval, Retrieve API endpoint through EVN var