Updated Xbaya to enable execution of a single application through thrift api