Added Code module and started event structure.