add URL parsing library (https://github.com/allmarkedup/purl)
improve "mobile" mode