Added rough version of main menu functionality.