Added the basic relational model
Added a named effect to clear up some common code