started diagnostics implementation

Added some documentation on diagnostics. Also started implementing a few of the
classes that make up the diagnostics system. Pretty basic as of now.
tweaks to the console fmt