public MoodleUser login(string username, string password)
 {
     return(System.getSystem().Login(username, password));
 }
 public Dictionary <MoodleCourse, List <LocationAvg> > getAvgsWeek(int ID)
 {
     return(System.getSystem().getAvgsWeek(ID));
 }
 /// <summary>
 /// Updates the LocationDB
 /// </summary>
 public void updateLocationDB()
 {
     System.getSystem().updatesLocationDB();
 }
 /// <summary>
 /// Register the user with the db.
 /// Tested:Working.
 /// </summary>
 /// <param name="moodleUsername"></param>
 /// <param name="moodlePassword"></param>
 /// <param name="password"></param>
 /// <param name="fName"></param>
 /// <param name="lName"></param>
 /// <param name="location"></param>
 public void Register(string moodleUsername, string moodlePassword, string password, string fName, string lName, string location)
 {
     System.getSystem().Register(moodleUsername, moodlePassword, password, fName, lName, location);
 }