adding split view to index, removed unused stuff.