Bug fixing

Bug fixing, error handling
Rename presman2.py to presman.py