Understanding Flask microframework