Moved the various elements of the console into their own class