Sample can be compiled, and configuration moved from xml to ini file for easier parse