Added the skeleton code for the main class to control the frame