Adds licence and preview, removes console.logs