Try-out for sql backend

Please review and comment.