URI and layer representations; closes #308; closes #309