Main class

Make main.py runnable. Change windows with the function keys. F1 switches to MainWindow. F2 switches to RankWindow.