add support for building/installing src from archdir
added xsd support; it's still a bit messy