Rewrite url patterns
Merge pull request #183 from stianjensen/rewrite-urls

Rewrite url patterns