Added account and xpsign factories to help with creation of those objects. Accountmanager can now be accessed staticly and changed the use in other classes to prefer the static object.