Added Maven central stuff to pom, and implemented PathTemplate matching.