log history from content script
init db, ar and adapter pattern