Removed leading / from resources and use only the last part of the request uri for routing.