move account manager and cloud manager from Symfony bundle into library