anything you need to control a server is already built into the game. they are called rcon commands.
/rcon map <map>
/rcon map_restart <warmuptime>
but the above all most important command is:
^ do that and you will have the best server ever.