Added getopt and a configuration file to manager_server.