Create main.js

Main file for all enchant.js code