Created classes for the two main windows