sqlite working! (for points at least)
lines somewhat work
split out prepare