attached the classes fragment to the view
got classes to show in the app
removed unused and old code