add twitter_base.py and refactor some name