change reference for domain from localhost to util function that provides domain
Merge pull request #5 from ozone-development/bug/3/refactor-localhost-reference

change reference for domain from localhost to util function that provide...