ThothClient main part