Added code creation and code deletion