Made the application runnable and created the basic JFrame.