Create the persistence layer

You could've [made the random selection here already](http://stackoverflow.com/questions/1253561/sqlite-order-by-rand).