Add endpoint configuration.
Merge pull request #82 from aughr/master

Add endpoint configuration.