added MySQL persistence