Basic Flask App with database connection