finish environment of portal and add xml parser