Initial sqlite setup stuff