Implementing preview
Still no save function, deploy function, and preview not complete