changed command line argument structure and added list users option.