Work on boilerplate code. Effects are now saved correctly in the database.