Create EssentialsCore.js

Core functions required to run Essentials