added the prefix template. fix issue #22
fix and clean the global scope
fix pom