added database initialization to __init__.py