index_prime -> index
Option2 using flask.views.View