removed unneccessary imports, cleaned up imports for translate.py