Revert "Deleted code directory and moved all files to public folder in scripts"

This reverts commit bff99215843a33fa5a1319377bf6ff0457435790.