moved preview into its own app