Added the index partial and created the order model