Added functions to enable the console

The console will be used for the normal output of the program. All the logs will but outputted into the console, and saved the file file at the same time.