Refactor for new web container API
Change functionality to calculate base URL
Merge pull request #26 from wagnert/master

Change functionality to calculate base URL