Simplified command handling
Moved QA tests to xt dir