Basic sqlite add/retrieve functions