basic framework support for multi level urls

#655