Moving options functionality into lib/core/options
Fixing issues with lib/core/mount.js