refactor webapp.py. Remove call process to ngrok program