SQL & Redis

* Finish SQL backend
* Initial implementation of Redis backend