Added draw and state

core.js added state
index.html added draw markup