Explain the diff with simple mode and project mode for cloud code