Added a Console class that can be used for printing to console which has
a flag that can be switched to disable or enable logging