decouple urls to application