refactor the items.py, and to model the project and related tables, and define PK.