Add optparse to server.hs. Move execParser to Util module.