static router now handling directories