Added SQLite database for saving folder settings

this is only the most basic functionality