Add ability for extension to handle prefix instead of just normal route. Closes #16.

Signed-off-by: crynobone <crynobone@gmail.com>