Added Java Classes for main menu