Modified Main to accept arguments from the UI and start server/client based on User Input