add a code template xml
mina demo program