SQL support

Implements support for SQL stores using SQLAlchemy