static void Main(string[] args)
        {
            var dataFinder = new DataFinder();

            Console.WriteLine("Getting users...");
            var usernames = dataFinder.GetUsernames("Usernames.csv");

            if (usernames == null)
            {
                Environment.Exit(-1);
            }

            var codewarsUsers = CodewarsUser.ParseUsers(usernames);

            if (codewarsUsers == null || codewarsUsers.Count < 1)
            {
                Environment.Exit(-1);
            }

            Console.WriteLine("Getting data from Codewars...");
            dataFinder.PopulateScores(codewarsUsers);

            codewarsUsers = codewarsUsers.OrderByDescending(x => x.Score).ToList();

            Console.Clear();
            Console.WriteLine(Formatter.GetTextFormattedForDisplay(codewarsUsers));
            Console.ReadLine();
        }
        public static List <CodewarsUser> ParseUsers(string[] users)
        {
            if (users == null)
            {
                return new List <CodewarsUser>()
                       {
                           new CodewarsUser("N/A")
                           {
                               Name = "None", Score = 0
                           }
                       }
            }
            ;

            var userList = new List <CodewarsUser>();

            foreach (var user in users)
            {
                var data = user.Split(',');

                var newUser = new CodewarsUser(data[0]);
                newUser.Name = data[1].Trim();
                userList.Add(newUser);
            }

            return(userList);
        }
    }