Init flask project and db.