Refactoring

- simplified SparkTestUtil, fixed setting of target port
- added examples to create meter and timer route wrappers and register them in spark