changes to ClassDao and Model

ClassDao - removed the getAllClasses method
ClassModel - changed the getAllClasses to simply getAll