Added a common database backend implementation.
Added sqlite (proof of concept)