ticket:1 Added database initialization