Loads the KvasirAPI calls into API.call based on the call_type variable. Utilizes the `Calls` class to
        establish an attribute-based access method. For instance a configuration with an instance called 'internal'
        will create an API.call that can be used like this:

            API.call.internal.hosts.list()  # return all hosts from Kvasir instance 'internal'

        :param call_type: string of 'jsonrpc' or 'restapi'
        :return: self.call dictionary

def load_calls(self, call_type='jsonrpc'):
        """Loads the KvasirAPI calls into API.call based on the call_type variable. Utilizes the `Calls` class to
        establish an attribute-based access method. For instance a configuration with an instance called 'internal'
        will create an API.call that can be used like this:

            API.call.internal.hosts.list()  # return all hosts from Kvasir instance 'internal'

        :param call_type: string of 'jsonrpc' or 'restapi'
        :return: self.call dictionary
        """
        valid = False
        if call_type == 'jsonrpc':
            #from jsonrpc import Hosts, Services, Accounts, Vulns, OS, NetBIOS, Evidence
            import jsonrpc as api_calls
            self.api_calls = api_calls
            valid = True
        #if call_type == 'rest'
            # TODO: Implement restful API functions
            #from restapi import hosts, services, accounts, vulns, os, netbios, evidence

        if valid:
            # if kvasir configuration is valid, go through the instances and build the self.call dict
            for instance, values in self.configuration.instances_dict.items():
                self.call[instance] = Calls()
                self.call[instance].call_type = call_type
                self.call[instance].hosts = self.api_calls.Hosts(values, self.configuration.web2py_dir)
                self.call[instance].services = self.api_calls.Services(values, self.configuration.web2py_dir)
                self.call[instance].accounts = self.api_calls.Accounts(values, self.configuration.web2py_dir)
                self.call[instance].vulns = self.api_calls.Vulns(values, self.configuration.web2py_dir)
                self.call[instance].os = self.api_calls.OpSys(values, self.configuration.web2py_dir)
                self.call[instance].snmp = self.api_calls.SNMP(values, self.configuration.web2py_dir)
                self.call[instance].netbios = self.api_calls.NetBIOS(values, self.configuration.web2py_dir)
                self.call[instance].evidence = self.api_calls.Evidence(values, self.configuration.web2py_dir)
                self.call[instance].stats = self.api_calls.Stats(values, self.configuration.web2py_dir)