changed from using pandas to plain dicts
took out pandas dependency