updated the static routing to match curren Martini

I updated the static handling to match the current version in Martini.

Gives More options about paths and route prefixes etc...