minimal dependency injection version

only constructs ApiClient,  ServerNodes and ServerNodes refresh, access is still static