Remove deprecated templates and rename "scene" to "state"
Fix generator won't generate state issue
Cleanup and update version number