Added Configuration Window

Added the configuration window and I also added some code to the main
window and the application class.