Partially done. This has the settings form, and queries the database for the right data, but does not format it correctly yet.