Added date conversion function
Changed so user can input chosen classes