Added add() convenience function
BUGFIX: Urls are now calculated propertly
BUGFIX: GetXML() now actually ouputs XML
BUGFIX: Set $this->refs to a default value in new constructor