Init package from xml