Added new console, instead of writting directly to the root console
refactored objects code