Changed endpoint parsing and initialization to be run in Constructor