Converted ConsoleMethod to DefineEngineMethod

Converted ConsoleMethod to DefineEngineMethod and added documentation.