Update codegenerator.py

now i can store my Products into a Database