remove useless code.
add other statics.
add config file and put option like db_host, db_port into config.py.