Change page layout for exercises

This will allow automatic generation of an exercises page.
Minor cleanup of a database exercise
Minor cleanup of database exercise