public function createConnection() {
        // below code is used to create connection usinf Orientdb
        $client = new OriClient($this->getHost(), $this->getPort(), $this->getDatabase());
        $client->getTransport()->setAuth($this->getUsername(), $this->getPassword());
        return $client;
    }