end to end almost working, building sqlite database I will use in Objective C