fix #31 Updating source files

This commit replaces all the harcoded url we have inside the source files with a predefined pattern that will be replaced automatically with the proper url (prod or localhost).