Renamed createConsoleObject function to createConsoleObjectTemplate