re-factor code
begin to write populate.py
improves prepare.py
fixes populate.py