Simple DOM factory