Add flaskr and change bound interface