Create twve.core.js

The core codes of twve