Finished first draft of Persistence and the MySQL backend.