export getPathnamefromURL to util.js
create first routingtest with getPathnamefromURL