env.py now uses global env vars. DB Schema updated