Improve interface, add xml parser and use authenticate option in order to avoid re-logins etc.