rename variables and methods to match URI

- protocol -> scheme
- uri -> path
- param -> key

etc...