added database, fixed missing __init__ file