Created the Application window
Separated the Jframe(Window) from the main code. This would become harder to do later on and also you can use that to create other more windows