Tinkering with some mysql stuff. To get ready for the saving for
estates.