Separate application controller into two controllers: Index and Repository