added submitting code to the database

The code doesn't actually show up in the interface anywhere, but it is
stored in the database.