Create Core.js

Created by Daniel and modified by me