add an sql backend
somewhat document the SQL backend