Moving index and preview into public