Adding_some_stuff #3

Added a window class
Improved debugging