updated inferrer with constructors for documents
added URL tag