removed old index controller, renamed tables to index