Added menuBar and creating of field