Refactored endpoint constants, tests
Merge pull request #11 from fog/refactor_endpoints

Refactored endpoint constants, tests