Added Accountsmanager class.