Initial version of xtapp-ps