Separated SQLite definitions into their own module