Add sqlite library and implement DBmanager