public void initCrescoDB()
    {
        try
        {
            //index properties

            System.out.println("Create Region Vertex Class");
            String[] rProps = {"region"}; //Property names
            createVertexClass("rNode", rProps);

            System.out.println("Create Agent Vertex Class");
            String[] aProps = {"region", "agent"}; //Property names
            createVertexClass("aNode", aProps);

            //indexes for searching
            System.out.println("Create Agent Vertex Class Index's");
            for(String indexName : aNodeIndexParams)
            {
                createVertexIndex("aNode", indexName, false);
            }

            System.out.println("Create Plugin Vertex Class");
            String[] pProps = {"region", "agent", "plugin"}; //Property names
            createVertexClass("pNode", pProps);


            System.out.println("Create resourceNode Vertex Class");
            String[] resourceProps = {"resource_id"}; //Property names
            createVertexClass("resourceNode", resourceProps);

            System.out.println("Create iNode Vertex Class");
            String[] iProps = {"resource_id", "inode_id"}; //Property names
            createVertexClass("iNode", iProps);


            System.out.println("Create isAgent Edge Class");
            String[] isAgentProps = {"edge_id"}; //Property names
            //createEdgeClass("isAgent",isAgentProps);
            createEdgeClass("isAgent",null);

            System.out.println("Create isPlugin Edge Class");
            String[] isPluginProps = {"edge_id"}; //Property names
            //createEdgeClass("isPlugin",isPluginProps);
            createEdgeClass("isPlugin",null);

            System.out.println("Create isConnected Edge Class");
            String[] isConnectedProps = {"edge_id"}; //Property names
            //createEdgeClass("isConnected",isConnectedProps);
            createEdgeClass("isConnected",null);

            System.out.println("Create isResource Edge Class");
            String[] isResourceProps = {"edge_id"}; //Property names
            //createEdgeClass("isResource",isResourceProps);
            createEdgeClass("isResource",null);

            System.out.println("Create isReachable Edge Class");
            String[] isReachableProps = {"edge_id"}; //Property names
            //createEdgeClass("isReachable",isReachableProps);
            createEdgeClass("isReachable",null);

            System.out.println("Create isAssigned Edge Class");
            String[] isAssignedProps = {"resource_id","inode_id","region", "agent"}; //Property names
            createEdgeClass("isAssigned",isAssignedProps);


            //create plugin anchor resource and inodes
            String[]  pluginAnchors= {"sysinfo","netdiscovery"}; //Property names
            for(String pAnchor : pluginAnchors)
            {
                String resource_id = pAnchor + "_resource";
                String inode_id = pAnchor + "_inode";

                System.out.println("Creating " + pAnchor + " resource node.");
                if(getResourceNodeId(resource_id) == null)
                {
                    //create resource
                    addResourceNode(resource_id);
                }
                System.out.println("Creating " + pAnchor + " iNode.");
                if(getINodeId(resource_id, inode_id) == null)
                {
                    //create inode
                    addINode(resource_id, inode_id);
                }
            }


        }
        catch(Exception ex)
        {
            System.out.println("initCrescoDB Error: " + ex.toString());
        }
    }