Issue #5 - Update API so that now we can use dynamic URL for connection