multiple node type graph fix on search
Database interface added.