more fixes in XGMML parser. added db initalizer.