Moved all the stuff from Application class to AppWindow class
Made Timer class independent from the rest parts of the program