switched to xml java based setup instead of XML.