renderer/console: Migrate code

Migrate code from header tp cpp-file.