Added base configuration and publish and preview scripts.