Updated helperclass to env; updated main-sync.py to user helperclass