Decoupling the BaseXClient and refactoring the AMFPerson class