add config, log module

manage the file structure, add the config, log module, modify the login
function, move tp_ui, tp_module to .\VIs