Separated pollmail.py to three separae files;