Create Code book