Made all id's use sequences; Replaced wildcard imports with specifics;
Formally named unique and foreign keys.