Modified DB structure to link Generator properly. 

Signed-off-by: fisherjk <fisherjk@.uwec.edu>
"fixed DB"

Signed-off-by: fisherjk <fisherjk@.uwec.edu>