Solved issue #14, called db.create_all() before starting app.