begin move over to using tire and incorporating indexing into app