Implemented parameterized base url.

Our team codes on servers and we have separated the workspaces by subdomain. http://{username}.domain.com. Having parameters in the baseurl greatly helps with being able to call services deployed to each user's environment.