initialize __init__.py and setup db