Update for new endpoint paths.
Merge pull request #3 from felina/newPaths

Update for new endpoint paths.