multiplayer game moded

how do i create a search and destroy game mode or tdm or domination or free for all and also add a game mode selection tab in my main menu , so when i select my map and game mode and hit play i play that game mode in that specific map i selected.