separate sqlite code in a different python module