Create the persistence layer

Oh I will fix this.