Setting up sqlite database