* refactor(api): create a new structure for the Go api * refactor(api): update the way keyFile parameter is managed