improve requirements, eliminate sim.py dependency in invest.views