add secure module, refactor code, use configuration.ISFAKINGDATA