begin cleanup
start defining the new sqlite schema