I add a module to properly use template in defining persist data type
I modify the test example to communicate with WPhone devices