Add init_db method to create database