Added console class for printing messages