refactor(client) init, baseInit