Begin implementaions of Application and MainWindow classes.