Improve high level interfaces and intialization of the SQLStore

Change-Id: Ia403b652f350733ff646f94688279de1eb67166a