api: using gorilla mux instead of pat, cleaner path matching