sqlite DB operations implemented