One of the most important features of any IT system is the database. It is very important to get the structure of the underlying data correct before you start the processing - a carefully designed database can remove the need for complicated validation, for example.
Some of the database theory pages refer to the Merits database, created in Access. Click here to download a copy. For obvious reasons, much of the data has been removed.