change directory structure to prepare a global XApi package
move unit tests into the Tests subdirectory