implemented methods on Default class so that defaults can be retreived and set.