added code block component as main code renderer