Making main menu. Added BApplication class to declare variable for auto complete in IDE.