Move initialization from handlers to depot client