Moved instantiation of clients in the initialize method