Trying to recode a previously created inventory management system with web.py.