About to change the db.
Changed some magic numbers into constants.
Made db fields NOT NULL.