/// <summary>
        /// Registers an object to be accessible via script from the console
        /// </summary>
        /// <param name="itemToRegister">Object to register available</param>
        /// <param name="referenceName">Name you want to use to access this object</param>
        public void registerObject(Object itemToRegister, string referenceName)
        {
            Type objectType = itemToRegister.GetType();

            this.registeredObjects.Add(new RegisteredObject(ref itemToRegister, referenceName, objectType.GetMethods(), objectType.GetProperties()));
            // alpha sort the registered objects
            this.registeredObjects.Sort(AlphaComparer.getInstance());
        }
 /// <summary>
 /// Default constructor which just alpha sorts the high level commands
 /// </summary>
 public ScriptManager()
 {
     Array.Sort(HIGH_LEVEL_COMMANDS, AlphaComparer.getInstance());
 }