rename primitive and resources
add .gitignore
syntax fixes and add multistate transitioning
ignore metadata.json