set endPoint
Merge pull request #3 from motodimago/set_end_point

Set end point as part of component initialize method