added mysql backend (unfinished)
merged conflicts