added endpoint property
Merge pull request #51 from Pomax/endpoints

added endpoint property