Fix handling of path prefixes
Remove commented lines
Fix null exceptions
Change API to support http methods
Re-implement functions as constructors
Include methods on string format
Remove unused code
Rename method
Update sample code
Refactor string conversion of methods
Update tests on the new API