Added the mortimer active record extension

We'll need this later