Changed endpoint parsing and initialization to be run in Constructor - REFERENCE

by no means merge until https://github.com/eglobal/jones-eglobal-library/pull/77