Started integrating basic sqlite logging
Added easy_sqlite_logging
Added optimisation to not write database every message