A simple SQLite Database manager that handles threading/synchronization issues